home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CD-ROM Directory (13th Edition)
/
The CD-ROM Directory 13.iso
/
install
/
inscript.deu
< prev
next >
Wrap
Text File
|
1993-11-19
|
17KB
|
710 lines
; CD Answer Installation Script - Generic jdk,ejf,hg
; <<CDA>> Jun 1 1993;3.2
; Apr 8 1993; hs
; single/multiple disk version
;
; To customize this install script:
; 1. Put the product name (1-8 characters) in a file called
; 'PRODNAME'. There should be no carriage return/line feed at
; the end of the name- the file should contain just the characters
; of the name.
; 2. Put the application name (CD Author 4 character project identifier)
; in a file called 'APPLNAME'. Again, no other chars should be
; the file. Multiple applications are formed by adding a space,
; then another application identifier
; 3. Put the start-up message in a file called PRODSCRN.<language>
; There should not be more than 10 lines.
;
; The first disk must contain the \INSTALL directory.
; This contains the general system files for the install
; process and may be repeated on disk #2, etc.
; The application specific files are kept in a directory
; named 'DISK1'. If additional disks are required, create
; an (empty) file on the current disk named '\MORE' and
; put the overflow files in a directory named \DISK2 (3, 4, ...).
BREAK abort
; install disk
PARSE_PATH <$ProgDir>
SET insdrive = <$Drive>
SET ins = <insdrive>\INSTALL
SET curdisk = 1
GOSUB need_disk
; here are some defaults:
; default destination drive
PARSE_PATH <$CurDir>
SET def_dest = C:\
IF NOT "<$Drive>"=="<insdrive>" DO SET def_def = <$Drive>
;TFPL - 7-6-93
;CONFIG Colors = 0 2 0 30 0 30 0 30 0 112 0 143 0 79 0 79 0 48 0 15 0 30 0 79 0 143 1 30
;CONFIG ColorSet = 55
;TFPL
; default CD-ROM interface (FS_HSGEN {High Sierra} or FS_ISGEN {ISO})
SET def_cdtype = High Sierra
SET def_driver = FS_HSGEN
IF EXISTS <insdrive>\INSTALL\<def_driver>.* GOTO ok_driver
SET def_cdtype = ISO
SET def_driver = FS_ISGEN
:ok_driver
; language
SET def_lang = <$Language>
; application name(s) (4 char ident(s) on CD-ROM)
READFILE names = <ins>\APPLNAME.
; product name (application name for batch file, subdirectory name)
READFILE prod = <ins>\PRODNAME.
; default dest drive and directory
PARSE_PATH <def_dest><prod>.CD
SET dstdrive = <$Drive>
SET path = <$Dir>
CD <dstdrive>\
; read and display Application Installation Screen
IF NOT EXISTS <insdrive>\INSTALL\PRODSCRN.<def_lang> GOTO no_banner
READFILE screen = <insdrive>\INSTALL\PRODSCRN.<def_lang>
GOTO show_banner
:no_banner
SET screen =
---- CD Answer Installation für:\n\n
---- <prod>\n\n
---- Applikation(en): <names>
:show_banner
CLEAR
TEXT <screen>
SET screen =
WAIT
GOTO okdir
:getdir
CLEAR
TEXT \nFehler:\n\n
----Der Pfad "<dstdrive><path>" ist nicht zulässig!\n
----Es muß eine Laufwerksangabe sowie ein gültiger Unterverzeichnisname
---- vorhanden sein, um die Software zu installieren.
WAIT
:okdir
CLEAR
TEXT Die Retrieval-Software muß auf einer Festplatte oder auf eine\n
----formatierte Floppy Diskette installiert werden. Die Standard-\n
----angaben sind Laufwerk C: (normalerweise die Festplatte) und\n
----Unterverzeichnis <path>. Um diese Angaben zu wählen,\n
----die ┘ (Eingabe) Taste zweimal betätigen. Um sie zu ändern, die\n
----gewünschten Parameter nach Aufforderung eingeben.\n
INPUT 6,8,5 dstdrive = Installieren auf Laufwerk ?
INPUT 6,10,40 path = Installieren in Unterverzeichnis ?
SET dest = <dstdrive><path>
SET confile = <ins>\_DW_.CFG
IF "<dstdrive>"=="" GOTO getdir
IF "<path>"=="\" GOTO getdir
IF "<path>"=="" GOTO getdir
IF NOT DIREXISTS <dstdrive>\ GOTO getdir
CD <dstdrive>\
IF NOT DIREXISTS <dest> GOTO nopath
IF NOT EXISTS <dest>\DW.EXE GOTO nopath
CLEAR
TEXT Das Unterverzeichnis "<dest>" existiert bereits.
NEWMENU 1,3,67
;TFPL -7-6-93
MENU neue Version und nur Oberfläche installieren
MENU neue Version und alle Sprachoberflächen installieren
;TFPL
MENU Alte Version löschen; neue Version NICHT installieren
MENU Konfiguration ändern; Software nicht kopieren
MENU Installation abbrechen ohne Änderungen
ENDCHOICES
;TFPL 7-6-93
CHOICE 1
CLEAR
TEXT Vorhandene <dest> wird gelöscht...
FOREACH name = <names>
DEL <dest>\<name>*.*
NEXT
DEL <dest>\FS_*.DRV
DEL <dest>\SC_*.DRV
DEL <dest>\PR_*.DRV
DEL <dest>\GR_*.DRV
DEL <dest>\_DW_*.*
DEL <dest>\ADL_MSGS.*
DEL <dest>\DW.EXE
DEL <dest>\UPDATE.EXE
SET ch = 2
GOTO okpath
;TFPL
CHOICE 2
CLEAR
TEXT Vorhandene <dest> wird gelöscht...
FOREACH name = <names>
DEL <dest>\<name>*.*
NEXT
DEL <dest>\FS_*.DRV
DEL <dest>\SC_*.DRV
DEL <dest>\PR_*.DRV
DEL <dest>\GR_*.DRV
DEL <dest>\_DW_*.*
DEL <dest>\ADL_MSGS.*
DEL <dest>\DW.EXE
DEL <dest>\UPDATE.EXE
SET ch = 3
GOTO okpath
CHOICE 3
CLEAR
TEXT Verzeichnis <dest> wird gelöscht...
FOREACH name = <names>
DEL <dest>\<name>*.*
NEXT
DEL <dest>\FS_*.DRV
DEL <dest>\SC_*.DRV
DEL <dest>\PR_*.DRV
DEL <dest>\GR_*.DRV
DEL <dest>\_DW_*.*
DEL <dest>\ADL_MSGS.*
DEL <dest>\DW.EXE
DEL <dest>\UPDATE.EXE
IF NOT EXISTS <dest>\*.* GOTO remdest
TEXT <dest> Verzeichnis hat unbekannte Dateien. Verzeichnis nicht entfernt!!
WAIT
GOTO norem
:remdest
RD <dest>
:norem
DEL <dstdrive>\<prod>.BAT
GOTO end2
CHOICE 4
SET alter = Y
SET confile = <dest>\_DW_.CFG
GOTO okpath
CHOICE 5
GOTO end2
ENDCHOICES
:nopath
MD <dest>
IF NOT DIREXISTS <dest> GOTO getdir
;TFPL 7-6-93
TEXT New Installation
NEWMENU 1, 3, 64
MENU neue Version und nur Oberfläche installieren
MENU neue Version und alle Sprachoberflächen installieren
ENDCHOICES
CHOICE1
SET ch = 2
GOTO okpath
CHOICE2
SET ch = 3
GOTO okpath
ENDCHOICES
:okpath
;----------------------------------------------------------------------------
IF NOT EXISTS <confile> GOTO no_config
DISP 5,14 Konfiguration wird gelesen...
READCONFIG <confile>
:no_config
;----------------------------------------------------------------------------
HSCOUNT hs
IF NOT <hs>==0 GOTO have_hs
CLEAR
TEXT FEHLER: Es ist kein CD-ROM Treiber installiert.\n\n
----Bitte benutzen Sie die vom Hersteller mitgelieferte Installations-\n
----diskette, um Ihre spezielle Treiber-Software zu installieren,
---- und wiederholen Sie anschließend dieses Installationsprogramm.\n\n
----HINWEIS: Durch die Installation des CD-ROM Treibers werden
---- Dateien auf Ihre Festplatte übertragen und die CONFIG.SYS und die
---- AUTOEXEC.BAT Dateien verändert. Wenn Sie keine Programme haben,
---- die das MSCDEX Programm
---- verwenden, empfehlen wir, MSCDEX aus Ihrer
---- AUTOEXEC.BAT Datei zu entfernen; diese Software benötigt dieses Programm
---- nicht.\n\n
----MERKE: Nach der Installation des CD-ROM Treibers neu booten !!
WAIT
ABORT
:have_hs
;TFPL 19-11-93
GOTO get_hs_letter
SET msg =
IF <hs>==1 GOTO instOne
TEXT Die folgenden <def_cdtype> Treiber sind vorhanden:\n\n
----Selektieren Sie den <def_cdtype> Gerätetreiber aus der Liste vorhandener
---- Gerätetreiber mit den und Tasten und betätigen Sie ┘ (Eingabe).
----Betätigen Sie Esc um die Installation abzubrechen.
GOTO :instMore
:instOne
SET msg = Ein <def_cdtype> Treiber ist installiert (siehe CONFIG.SYS):\n\n
:instMore
HSDRIVER hsname = 25, 6
CONFIG Driver = "<def_driver>=<hsname>"
CLEAR
TEXT <msg>Der selektierte <def_cdtype> Treiber hat den Namen "<hsname>".
---- Wenn dieser nicht gültig sein soll, betätigen Sie Esc, um die Installation
---- abzubrechen und überprüfen Sie die CONFIG.SYS Datei.\n\n
----Diese Software benötigt das Programm MSCDEX.EXE (Microsoft
---- CD-ROM Extensions) NICHT. Wenn keine anderen Anwendungen dieses Programm
---- benötigen, können Sie es aus der \AUTOEXEC.BAT Datei entfernen.\n\n
----Bemerkung: Manche Installationsprogramme fügen das Microsoft CD-ROM Extensions
---- automatisch in die \AUTOEXEC.BAT Datei ein.
WAIT
CLEAR
TEXT <def_cdtype> Treiber wird kopiert...
SET driver_name = <def_driver>.DRV
GOSUB copy_driver
;TFPL 19-11-93
:get_hs_letter
CLEAR
:tfpl_drive
GOTO tfp1
:drive_error
TEXT Error: The database is not available on the specified drive...\n\n
:tfp1
TEXT \n\n
----Geben Sie bi